<div id="content"> 
            
            <table class="content_layout" width="100%" border="0" cellspacing="0" cellpadding="0"> 
            <tr> 
            
            <td class="content_layout"> 
              <div > 
                
<div id="counter1" class="entrance-container"> 
  <div class="counter_wrap1"> 
    <div class="counter_logo"> 
      <table><tr><td><img src="media/brand/<?php echo $camp->getImage("logo"); ?>" style="_padding-top:600px;" /></td></tr></table> 
    </div> 
    <div class="campaign-counter"> 
      <table> 
        <tr> 
          <td>    
                    
          <?php 
          	$d = DateTime::createFromFormat("Y-m-d H:i:s", $camp->date_finish ." 05:00:00",new DateTimeZone("UTC"));
			$RD =  $d->format("m/d/Y H:i A");
			
			echo "<script language='JavaScript'>";
			echo "TargetDate='". $RD. "';";
			echo "CountActive = true;";
			echo "CountStepper = -1;";
			echo "LeadingZero = true;";
			echo "FinishMessage = 'Kampanya sona ermi�tir.'";
			echo "</script>";
          ?>
            <span class="campaign-counter-text custom-color">Kampanyanın bitmesine </span> 
          </td> 
          <td> 
            <div class="campaign-counter-table-container"> 
              <table cellspacing="0" class="campaign-counter-table"> 
              
                <script language="JavaScript" src="includes/counter.js"></script>
              
              <tr> 
                <td class="pink">gün</td> 
                <td></td> 
                <td class="green">saat</td> 
                <td></td> 
                <td class="pink">&nbsp;dk.</td> 
                <td></td> 
                <td class="green">&nbsp;sn.</td> 
              </tr> 
              </table> 
            </div> 
          </td> 
          <td> 
            <span class="campaign-counter-text custom-color">&nbsp;&nbsp;kald�.</span> 
          </td> 
        </tr> 
      </table> 
    </div><!-- campaign container --> 
    <table width="100%" class="counter_bg" border="0" cellspacing="0" cellpadding="0"> 
    <tr> 
      <td class="counter_bgl"></td> 
      <td class="counter_bgc">&nbsp;</td> 
      <td class="counter_bgr"></td> 
    </tr> 
    </table> 
  </div> 
</div> 

 
<div id="campaign_preview"> 
  <div class="abs"><img src="images/campaign_preview_bg.png" style="_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true',src='/site_media/cache-172/img/campaign_preview_bg.png');_padding-top:600px;" /></div> 
  <div class="rel"> 
    <table style="position:relative;left:0;" width="100%" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
        <td width="207" height="421"> 
          <div style="width:207px;height:421px;position:relative;"> 
            <div class="abs"><img src="images/preview_l.jpg" /></div> 
            <div style="position:relative;padding-top:20px;"> 
              <div style="width:207px;height:401px;position:relative;"> 
                <div class="abs" style="height:401px;overflow:hidden;"><img src="images/preview_l.jpg" /></div> 
                <div style="position:absolute;z-index:100;width:350px;"> 
                  <table border="0" cellspacing="0" cellpadding="0"> 
                  <tr> 
                    <td width="8" style="width:8px;background:#e1007a;"></td> 
                    <td> 
                      <div style="position:relative;"> 
                        <table border="0" cellspacing="0" cellpadding="0"> 
                        <?php 
                        $catList = $camp->getCategories();
                        foreach ($catList as $cats){                        
                        	echo '<tr><td class="category_row"><table border="0" cellspacing="0" cellpadding="0"><tr><td style="background:#fff;">';
                        	$url = $_SERVER["SCRIPT_NAME"] . "?brand_id=" .$camp->brand_id ."&cat=" . $cats;
                        	echo '<a href="'.$url.'">';
                        	echo $cats;
                        	echo "</a></td></tr></table></td></tr> ";
                        }
                        
                        ?>
                                                  
                        </table> 
                      </div> 
                    </td> 
                  </tr> 
                  </table> 
                  
                  
                  <table border="0" cellpadding="0" cellspacing="0"> 
                  <tr> 
                    <td colspan="2" class="category_row last_category_row" height="20"> 
                    </td> 
                  </tr> 
                  <tr> 
                    <td width="8" style="width:8px;background:#e1007a;padding:0;margin:0;border:0;overflow:hidden;"></td> 
                    <td> 
                      <table width="100%" border="0" cellpadding="0" cellspacing="0"> 
                      <tr> 
                        <td class="category_row last_category_row"> 
                          <table border="0" cellspacing="0" cellpadding="0"> 
                            <tr><td style="background:#fff;"><a href="<?php echo $_SERVER["SCRIPT_NAME"] . "?brand_id=" .$camp->brand_id ."&cat=all";?>" class="hovera">Tüm ürünler</a></td></tr> 
                          </table> 
                        </td> 
                      </tr> 
                      </table> 
                    </td> 
                  </tr> 
                  </table> 
                  
                  
                </div> 
              </div> 
            </div> 
          </div> 
        </td> 
        <td> 
          <div style="width:644px;height:421px;position:relative;overflow:hidden;"> 
            
            <div class="abs"><a href="/campaign/pierre-cardin-24/bot/"><img src="media/campaign/<?php echo $camp->getImage("image_detail");?>" /></a></div> 
            
          </div> 
        </td> 
      </tr> 
    </table> 
  </div> 
</div> 
<div style="height:440px;"></div> 
 
<div style="margin:7px 0px 7px 20px;"><p class="gray">Yukarıdaki resmi göremiyorsanız özel satışa katılmak için <a class="inline" href="<?php echo $_SERVER["SCRIPT_NAME"] . "?brand_id=" .$camp->brand_id ."&cat=all";?>">buraya</a>&nbsp;tıklayınn</p></div> 
 
 
              </div> 
            </td> 
            
            
            </tr> 
            </table> 
            
          </div> 